package com.sikaryofficial.backend.domain.dto.req.information;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * 文章banner对象
 *
 * @author qinjinyuan
 * @date 2024-04-10
 */
@Getter
@Setter
@ToString
@ApiModel(value = "文章Banner请求入参", description = "文章Banner请求入参")
public class ArticleBannerReq {
    /**
     * 文章bannerID
     */
    @ApiModelProperty(value = "文章bannerID")
    private Long articleBannerId;

    /** Banner名称 */
    @ApiModelProperty(value = "Banner名称")
    private String bannerName;
    /**
     * banner地址;索引字段：方便查找
     */
    @ApiModelProperty(value = "click链接")
    @Length(max = 100, message = "clickLink cannot be longer than 100 characters")
    private String clickLink;
    /**
     * 封面
     */
    @ApiModelProperty(value = "封面")
    @NotBlank(message = "coverUrl cannot be blank")
    @Length(max = 100, message = "coverUrl cannot be longer than 100 characters")
    private String coverUrl;
    /**
     * 顺序
     */
    @ApiModelProperty(value = "顺序", example = "1")
    private Integer sort;
    @ApiModelProperty(value = "活动平台-品牌", example = "SKE")
    private String brand;
    /**
     * 是否外部链接: 0-否, 1-是 默认0 非外部链接
     */
    @ApiModelProperty(value = "是否外部链接: 0-否, 1-是 默认0 非外部链接", example = "0")
    private Integer hasOutLink;
    /**
     * 版块位置 1-首页,2-活动页,3-法律法规
     */
    @ApiModelProperty(value = "版块位置 1-首页,2-活动页,3-法律法规", example = "1")
    private Integer sectionPosition;
    /**
     * Banner内容
     */
    @ApiModelProperty(value = "Banner内容")
    private String bannerContent;

    /**
     * 地址ID：发布地区
     */
    @ApiModelProperty(value = "地址ID：发布地区")
    private Long addressId;

    /**
     * 国家
     */
    @ApiModelProperty(value = "国家")
    private String country;

    /**
     * 区域
     */
    @ApiModelProperty(value = "区域")
    private String area;

    /**
     * 城市
     */
    @ApiModelProperty(value = "城市")
    private String city;
}
